package Test4;

public class CompareNews implements Comparable{
    @Override
    public int compareTo(Object obj) {
        News news= (News) obj;
        return news.getHits();
    }
}
